<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxPlane Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classPxPlane.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="classPxPlane-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PxPlane Class Reference<div class="ingroups"><a class="el" href="group__foundation.html">Foundation</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Representation of a plane.  
 <a href="classPxPlane.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PxPlane_8h_source.html">PxPlane.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for PxPlane:</div>
<div class="dyncontent">
<div class="center"><img src="classPxPlane__coll__graph.png" border="0" usemap="#PxPlane_coll__map" alt="Collaboration graph"/></div>
<map name="PxPlane_coll__map" id="PxPlane_coll__map">
<area shape="rect" id="node2" href="classPxVec3.html" title="3 Element vector class. " alt="" coords="7,5,75,32"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aa91bd50f689e65d8df16b9bc451adbe4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPlane.html#aa91bd50f689e65d8df16b9bc451adbe4">PxPlane</a> ()</td></tr>
<tr class="memdesc:aa91bd50f689e65d8df16b9bc451adbe4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="#aa91bd50f689e65d8df16b9bc451adbe4">More...</a><br /></td></tr>
<tr class="separator:aa91bd50f689e65d8df16b9bc451adbe4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d449753bd941b2ac7d4f507e53ff2b9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPlane.html#a5d449753bd941b2ac7d4f507e53ff2b9">PxPlane</a> (float nx, float ny, float nz, float <a class="el" href="classPxPlane.html#a3fe0df70f1ed956da1f29c1623c892ec">distance</a>)</td></tr>
<tr class="memdesc:a5d449753bd941b2ac7d4f507e53ff2b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from a normal and a distance.  <a href="#a5d449753bd941b2ac7d4f507e53ff2b9">More...</a><br /></td></tr>
<tr class="separator:a5d449753bd941b2ac7d4f507e53ff2b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8999609dacee1ba2ac0011f481014d08"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPlane.html#a8999609dacee1ba2ac0011f481014d08">PxPlane</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;normal, float <a class="el" href="classPxPlane.html#a3fe0df70f1ed956da1f29c1623c892ec">distance</a>)</td></tr>
<tr class="memdesc:a8999609dacee1ba2ac0011f481014d08"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from a normal and a distance.  <a href="#a8999609dacee1ba2ac0011f481014d08">More...</a><br /></td></tr>
<tr class="separator:a8999609dacee1ba2ac0011f481014d08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b6a4463b95366c1f9a12a84d57509bd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPlane.html#a0b6a4463b95366c1f9a12a84d57509bd">PxPlane</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;point, const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;normal)</td></tr>
<tr class="memdesc:a0b6a4463b95366c1f9a12a84d57509bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from a point on the plane and a normal.  <a href="#a0b6a4463b95366c1f9a12a84d57509bd">More...</a><br /></td></tr>
<tr class="separator:a0b6a4463b95366c1f9a12a84d57509bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ce0657187ece1138c35ea775e4d075e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPlane.html#a3ce0657187ece1138c35ea775e4d075e">PxPlane</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;p0, const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;p1, const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;p2)</td></tr>
<tr class="memdesc:a3ce0657187ece1138c35ea775e4d075e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor from three points.  <a href="#a3ce0657187ece1138c35ea775e4d075e">More...</a><br /></td></tr>
<tr class="separator:a3ce0657187ece1138c35ea775e4d075e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad22c1707d0fcda7a901d8880e61c2415"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPlane.html#ad22c1707d0fcda7a901d8880e61c2415">operator==</a> (const <a class="el" href="classPxPlane.html">PxPlane</a> &amp;p) const</td></tr>
<tr class="memdesc:ad22c1707d0fcda7a901d8880e61c2415"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns true if the two planes are exactly equal  <a href="#ad22c1707d0fcda7a901d8880e61c2415">More...</a><br /></td></tr>
<tr class="separator:ad22c1707d0fcda7a901d8880e61c2415"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3fe0df70f1ed956da1f29c1623c892ec"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPlane.html#a3fe0df70f1ed956da1f29c1623c892ec">distance</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;p) const</td></tr>
<tr class="separator:a3fe0df70f1ed956da1f29c1623c892ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48cf571ee8066b645cdd21def9e0ed0d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPlane.html#a48cf571ee8066b645cdd21def9e0ed0d">contains</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;p) const</td></tr>
<tr class="separator:a48cf571ee8066b645cdd21def9e0ed0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a304c1868b47814e943b1ec95ecdf4f57"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec3.html">PxVec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPlane.html#a304c1868b47814e943b1ec95ecdf4f57">project</a> (const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;p) const</td></tr>
<tr class="memdesc:a304c1868b47814e943b1ec95ecdf4f57"><td class="mdescLeft">&#160;</td><td class="mdescRight">projects p into the plane  <a href="#a304c1868b47814e943b1ec95ecdf4f57">More...</a><br /></td></tr>
<tr class="separator:a304c1868b47814e943b1ec95ecdf4f57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b03103cfc22de7003ba4701a748a92c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec3.html">PxVec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPlane.html#a3b03103cfc22de7003ba4701a748a92c">pointInPlane</a> () const</td></tr>
<tr class="memdesc:a3b03103cfc22de7003ba4701a748a92c"><td class="mdescLeft">&#160;</td><td class="mdescRight">find an arbitrary point in the plane  <a href="#a3b03103cfc22de7003ba4701a748a92c">More...</a><br /></td></tr>
<tr class="separator:a3b03103cfc22de7003ba4701a748a92c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37c94eda03f24e3caed2e7739940c14a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPlane.html#a37c94eda03f24e3caed2e7739940c14a">normalize</a> ()</td></tr>
<tr class="memdesc:a37c94eda03f24e3caed2e7739940c14a"><td class="mdescLeft">&#160;</td><td class="mdescRight">equivalent plane with unit normal  <a href="#a37c94eda03f24e3caed2e7739940c14a">More...</a><br /></td></tr>
<tr class="separator:a37c94eda03f24e3caed2e7739940c14a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a5697986eb1240eafe0261f453c5a7065"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPxVec3.html">PxVec3</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPlane.html#a5697986eb1240eafe0261f453c5a7065">n</a></td></tr>
<tr class="memdesc:a5697986eb1240eafe0261f453c5a7065"><td class="mdescLeft">&#160;</td><td class="mdescRight">The normal to the plane.  <a href="#a5697986eb1240eafe0261f453c5a7065">More...</a><br /></td></tr>
<tr class="separator:a5697986eb1240eafe0261f453c5a7065"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cf263ac8ebddc47953a3fcbfc0a0455"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classPxPlane.html#a7cf263ac8ebddc47953a3fcbfc0a0455">d</a></td></tr>
<tr class="memdesc:a7cf263ac8ebddc47953a3fcbfc0a0455"><td class="mdescLeft">&#160;</td><td class="mdescRight">The distance from the origin.  <a href="#a7cf263ac8ebddc47953a3fcbfc0a0455">More...</a><br /></td></tr>
<tr class="separator:a7cf263ac8ebddc47953a3fcbfc0a0455"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Representation of a plane. </p>
<p>Plane equation used: n.dot(v) + d = 0 </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa91bd50f689e65d8df16b9bc451adbe4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa91bd50f689e65d8df16b9bc451adbe4">&#9670;&nbsp;</a></span>PxPlane() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxPlane::PxPlane </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>

</div>
</div>
<a id="a5d449753bd941b2ac7d4f507e53ff2b9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5d449753bd941b2ac7d4f507e53ff2b9">&#9670;&nbsp;</a></span>PxPlane() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxPlane::PxPlane </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>nx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>ny</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>nz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>distance</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor from a normal and a distance. </p>

</div>
</div>
<a id="a8999609dacee1ba2ac0011f481014d08"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8999609dacee1ba2ac0011f481014d08">&#9670;&nbsp;</a></span>PxPlane() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxPlane::PxPlane </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>normal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>distance</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor from a normal and a distance. </p>

</div>
</div>
<a id="a0b6a4463b95366c1f9a12a84d57509bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b6a4463b95366c1f9a12a84d57509bd">&#9670;&nbsp;</a></span>PxPlane() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxPlane::PxPlane </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>normal</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor from a point on the plane and a normal. </p>

</div>
</div>
<a id="a3ce0657187ece1138c35ea775e4d075e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ce0657187ece1138c35ea775e4d075e">&#9670;&nbsp;</a></span>PxPlane() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> PxPlane::PxPlane </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>p0</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>p1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>p2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor from three points. </p>

<p class="reference">References <a class="el" href="classPxVec3.html#a4c136327953ea1b09be10d979279b7dc">PxVec3::dot()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a48cf571ee8066b645cdd21def9e0ed0d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48cf571ee8066b645cdd21def9e0ed0d">&#9670;&nbsp;</a></span>contains()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> bool PxPlane::contains </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="group__foundation.html#gaf72e1dce9e874da7b92cbc0ea5e4e30d">PxAbs()</a>.</p>

</div>
</div>
<a id="a3fe0df70f1ed956da1f29c1623c892ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fe0df70f1ed956da1f29c1623c892ec">&#9670;&nbsp;</a></span>distance()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> float PxPlane::distance </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="reference">References <a class="el" href="classPxVec3.html#a4c136327953ea1b09be10d979279b7dc">PxVec3::dot()</a>.</p>

</div>
</div>
<a id="a37c94eda03f24e3caed2e7739940c14a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37c94eda03f24e3caed2e7739940c14a">&#9670;&nbsp;</a></span>normalize()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> void PxPlane::normalize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>equivalent plane with unit normal </p>

</div>
</div>
<a id="ad22c1707d0fcda7a901d8880e61c2415"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad22c1707d0fcda7a901d8880e61c2415">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#gacb03347b642a2a5bdea1f9b305a6fbec">PX_INLINE</a> bool PxPlane::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxPlane.html">PxPlane</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns true if the two planes are exactly equal </p>

<p class="reference">References <a class="el" href="classPxPlane.html#a7cf263ac8ebddc47953a3fcbfc0a0455">d</a>, and <a class="el" href="classPxPlane.html#a5697986eb1240eafe0261f453c5a7065">n</a>.</p>

</div>
</div>
<a id="a3b03103cfc22de7003ba4701a748a92c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b03103cfc22de7003ba4701a748a92c">&#9670;&nbsp;</a></span>pointInPlane()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec3.html">PxVec3</a> PxPlane::pointInPlane </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>find an arbitrary point in the plane </p>

</div>
</div>
<a id="a304c1868b47814e943b1ec95ecdf4f57"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a304c1868b47814e943b1ec95ecdf4f57">&#9670;&nbsp;</a></span>project()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__foundation.html#ga6e444d58dbf1459261fadc9b79594f63">PX_CUDA_CALLABLE</a> <a class="el" href="group__foundation.html#ga6a774eed3cad34b0f636332a3d28c6bb">PX_FORCE_INLINE</a> <a class="el" href="classPxVec3.html">PxVec3</a> PxPlane::project </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classPxVec3.html">PxVec3</a> &amp;&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>projects p into the plane </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a7cf263ac8ebddc47953a3fcbfc0a0455"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cf263ac8ebddc47953a3fcbfc0a0455">&#9670;&nbsp;</a></span>d</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float PxPlane::d</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The distance from the origin. </p>

<p class="reference">Referenced by <a class="el" href="classPxPlane.html#ad22c1707d0fcda7a901d8880e61c2415">operator==()</a>.</p>

</div>
</div>
<a id="a5697986eb1240eafe0261f453c5a7065"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5697986eb1240eafe0261f453c5a7065">&#9670;&nbsp;</a></span>n</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPxVec3.html">PxVec3</a> PxPlane::n</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The normal to the plane. </p>

<p class="reference">Referenced by <a class="el" href="classPxPlane.html#ad22c1707d0fcda7a901d8880e61c2415">operator==()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="PxPlane_8h_source.html">PxPlane.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classPxPlane.html">PxPlane</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
